package models;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;

import play.data.validation.Required;
import play.db.jpa.Model;

@Entity
public class Notification extends Model {

	@Required
	@ManyToOne
	public TimeUser owner;

	@Required
	@OneToOne
	public Workday workday;

	public String message;

	public Notification() {
		message = "";
	}
}
